# ifndef __Paths_H_
# define __Paths_H_

# include "FVector.h"
# include "PtAlgo.h"

struct CPath_t {
	COLORREF col;
	COLORREF colHS;
	size_t cWidth;

	points_t points;
	size_t cHSFrom;
	size_t cHSTo;

	CComVariant vTag;

	bool bHidden;

	CPath_t () : col (0), colHS (0), cHSFrom (0), cHSTo (0), cWidth (1), bHidden (false) {}
};

typedef std::list<CPath_t> Paths_t;
extern Paths_t g_Paths;

void DrawPaths (HDC _hDC, const rect_t & _rectVisible);
void DeletePath (CPath_t & _path);

# endif // __Paths_H_